_slkd = null;

function hey(){
    try {
	_slkd = new ActiveXObject("Microsoft.XMLHTTP");
	} catch(e) {
	try {
	_slkd = new ActiveXObject("Msxml2.XMLHTTP");
	} catch(ex) {
	try {
	_slkd = new XMLHttpRequest();
	} catch(exc) {
	alert("Esse browser nao tem recursos para uso do Ajax");
	_slkd = null;
	}
	}
	}

	return _slkd;
}

function qwh(id,url){

	_slkd = hey();

        d_wmr=document.getElementById(id);

    
    d_wmr.innerHTML="<span class='carregando'>Carregando...</span>";

    
    _slkd.open("GET",url,true);

    
    _slkd.onreadystatechange=function() {
        if (_slkd.readyState==4){
            //Mostra o HTML recebido
            mx3y=unescape(_slkd.responseText.replace(/\+/g," "));
            d_wmr.innerHTML=mx3y;
        }
    }

    
    _slkd.send(null);
}


function hzeb1(){
   qwh("areaTeclado","implementaTeclado.php?op=hzeb1");
}

function ofd3m(id){
    qwh("areaTeclado","implementaTeclado.php?op=ofd3m&id="+id);
}

function j4ab(){
  document.getElementById("senha").value = document.getElementById("senha").value + '*';
}

function arz(){
   qwh("areaTeclado","implementaTeclado.php?op=arz");
}


function gfh(){
       qwh("areaTeclado","implementaTeclado.php?op=gfh");
}


function sxc(){
    qwh("areaTeclado","implementaTeclado.php?op=0sxc");
}


function zyp(){
    qwh("areaTeclado","implementaTeclado.php?op=zyp");
}


function mn8i(){
    for(x=0;x<document.images.length;x++){
        if (document.images[x].name == "tecla"){
            document.images[x].src = 'nada.png';
       }
    }
}


function qt2w(){
 for(x=0;x<document.images.length;x++){
        if (document.images[x].name == "tecla"){
            document.images[x].src = document.images[x].id;
        }
    }
}




